package com.faxsun.core.util.dao;

import java.util.Date;
import java.util.List;

import org.broadleafcommerce.core.order.domain.Order;
import org.broadleafcommerce.core.util.dao.ResourcePurgeDao;

import com.faxsun.core.order.service.type.FSInternalOrderStatus;
import com.faxsun.core.order.service.type.FSOrderStatus;

public interface FSResourcePurgeDao extends ResourcePurgeDao {

	List<Order> findOrders(String[] names, FSOrderStatus[] statuses,FSInternalOrderStatus[] internalStatues,
			Date dateCreatedMinThreshold, Boolean isPreview, int startPos,
			int length);

	Long findOrdersCount(String[] names, FSOrderStatus[] statuses,FSInternalOrderStatus[] internalStatues,
			Date dateCreatedMinThreshold, Boolean isPreview);

}
